import org.apache.cxf.jaxrs.client.WebClient;
import org.junit.Ignore;
import org.junit.Test;

import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;

/**
 * Created by millions on 2017/7/4.
 */
public class Crm_management {


    @Test
    @Ignore
    public void test(){
        Response response = WebClient.create("http://localhost:9002/crm_management/services/customerService/associationcustomerstofixedarea?customerIdStr=" + 1 + "&fixedAreaId=" + 1)
                .accept(MediaType.APPLICATION_JSON_TYPE)
                .put(null);
        System.out.println(response.getStatus());
    }
}
